home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
comm2
/
xqm.lha
/
docs
/
XQM.doc
Wrap
Text File
|
1995-08-22
|
8KB
|
201 lines
$VER: XQmanager DOC XfreqQ Queue Management Tool Williamson
XQM, XQManager is copyright (c) 1995 by Robert Williamson
All Rights Reserved
XQmanager is a GUI based tool for viewing, editing and managing your
queue. If your mailer doesn't use xferq.library for outbound management,
you should bug the author to add support.
XQManager is the only tool that allows editing the queue to change
destination address, transmitted filename (AsName) priority and
disposition. Changes can be applied to a single file, a group of
selected files, or a group of files matching a pattern you provide.
Requires:
WB 2.11
a polling script named DIAL
rexxtricks.library 38.3
provides ListViews of all sites and of all files for a selected
site.
rexxreqtools.library and reqtools.library
provides string and gadget requesters.
rexxdossupport.library 2.3
provides pattern matching
(I've not tested the similar function in rexxtricks.library)
xferq.library v1.9
Functions:
Help Window
Show sites
Scan Site Queue
Scan Site's Queue
Dial site
Show queue for site
Remove site and all it's files from queue
Add new site and file to queue
ReRoute queued file(s) to another site
Add file(s) to site's queue
Remove one or more files from site's queue
Change file priority for one or more files to Crash or Hold
Globally Change ASNAME, numeric priority, or disposition
for one or more files
Since the viewlist is not dynamic, it is not updated if other processes
add or remove sites or files from the queue. When a gadget is hit, the
viewlist disappears and is updated after the selected function is
completed. The Scan and ReScan commands also allow one to update the
current viewlist at any time.
XQM checks ENV:XQM to see if debug mode is on. If ENV:XQM is set to
DEBUG, certain debugging information is presented in the console. Output
is also changed somewhat, with the titlebar and contents of the files
viewlist presented in a more technical manner.
SITES:
The SITES viewlist displays all sites in the queue, the number of files
queued per site and the maximum priority in the site queue. The list is
sorted by address. The value of your default address as stored
XFERQ:hostaddr is displayed in the titlebar.
An asterix '*' following the priority indicates that the site is
ONLINE and a session is in progress.
Available Gadgets:
Search
View Add Kill Dial Scan Help Quit
Search - for pattern you define in string gadget
View - show queue for selected site
Add - add one or more files to the selected site or
add a new site if none selected and queue one
or more files.
Kill - remove selected site from the queue
Dial - Call selected site
Scan - Scan and display sites
Help - short help
Double-clicking on a site entry is equivalent to a single-clicking
(select) on a site entry and then the View gadget.
The FILES viewlist shows each file queued for the selected site, along
with the priority and disposition of each file. Disposition is displayed
in two ways, as a letter code and in binary. Queue control flags are
also displayed. The list is sorted by priority. The address is displayed
in the titlebar.
Both the contents of the titlebar and the information presented for
each file in the queue depends upon the setting of the XQM environmental
variable.
TitleBar with ENV:XQM set to DEBUG
titlebar:
Files site address AsName Pri/Stat/Flag
entry:
FULLNAME ASNAME PRI STATUS FLAGS
If a file is currently being sent, STATUS will be equal to 2.
FLAGS is the numeric value of the disposition and queue control flags.
See FLAGS and STATUS section for values.
ENV:XQM not set to DEBUG
titlebar:
Files site address AsName Pri Disp
entry:
FULLNAME ASNAME PRI DISP BITS
DISP is a one or two letter code represent the disposition and queue
control FLAGS value. These codes are common to all XferQ utilities.
BITS is the binary representation of the FLAGS value.
If a file is currently being sent, BITS will be in BOLD. Do NOT
attempt to Edit, Kill, Crash or Hold a file being sent.
Available Gadgets:
All Pattern Toggle None
Search
ReScan Add Kill Crash Hold Edit Sites Help Quit
All - select all entries
Pattern - select all entries matching pattern in search string
gadget
Toggle - select unselected and de-select selected
None - clear all selections
Search - for pattern you define in string gadget
ReScan - rescan and display site's queue
Add - Add one or more files to the site's queue
Sites - show sites in queue
Multi-Select applies to the following. Hold the SHIFT key while
selecting multiple files.
Kill - Remove selected file(s) from site's queue
Crash - change selected file(s) to CRASH
Hold - change selected file(s) to HOLD
Edit - change address, asname, priority or
disposition for selected file(s)
The value for the selected parameter is applied to
ALL selected files, EXCEPT for ASNAME.
If REROUTING (Edit Address) and the asname is ARCMAIL,
you will be prompted for a new ASNAME.
Help - short help
Double-clicking on a FILE entry is equivalent to a single-clicking
(select) on a FILE entry and then the RESCAN gadget. Probably not what
you wanted. :)
*** W A R N I N G ***
I have encountered strange behaviour and the occasional guru when using
the ListView PATTERN gadget with an EMPTY search gadget. Use at your
own risk, you have been warned.
*** W A R N I N G ***
Notes:
DIAL script:
If you have a command or script named DIAL on the path, the Dial
gadget will execute it when clicked with the FQFA address of the site
selected as a parameter.
Tech:
XQmanager should not be considered an example of 'proper' xferq
programming but rather of 'safe' xferq programming. Xferq rexx functions
which have been shown to be problematic are avoided. In particular, none
of the functions to modify work are used. Instead, files are completely
removed from the queue and then re-added with the changed attributes.
STATUS:
0 - UNSENT - files has not been sent
1 - SENT - file has been sent, but not yet
removed from queue (rare to see this)
2 - INTRANSIT - file is being sent
FLAGS CODES
Disposition flags
0 L - do nothing after sending
1 D - Delete file after sending
2 T - Truncate file after sending
Queue Control Flags
4 I - Send only if session currently up
file was queued for onlin esite by a
request handler or robot
8 A - Send later, Make eligible after session
goes down (after site hangs up)
16 K - execute disposition if sent,
ie: DO NOT Delete if XQ_DELETE+XQ_IMMEDIATE
and file not sent